<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aether.Physics2D: BreakableBody Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NugetLogo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aether.Physics2D
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_physics_logic_1_1_breakable_body.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_physics_logic_1_1_breakable_body-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">BreakableBody Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A type of body that supports multiple fixtures that can break apart.  
 <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_physics_logic_1_1_breakable_body.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a5039d2a263d69edc2efe62c66d281a1b"><td class="memItemLeft" align="right" valign="top"><a id="a5039d2a263d69edc2efe62c66d281a1b"></a>enum class &#160;</td><td class="memItemRight" valign="bottom"><b>BreakableBodyState</b> { <b>Unbroken</b>
, <b>ShouldBreak</b>
, <b>Broken</b>
 }</td></tr>
<tr class="separator:a5039d2a263d69edc2efe62c66d281a1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa54e69b33ce1086dcf2203f93342ffd7"><td class="memItemLeft" align="right" valign="top"><a id="aa54e69b33ce1086dcf2203f93342ffd7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BreakableBody</b> (<a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_dynamics_1_1_world.html">World</a> world, IEnumerable&lt; <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a> &gt; vertices, float density, <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> position=new <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>(), float rotation=0)</td></tr>
<tr class="separator:aa54e69b33ce1086dcf2203f93342ffd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dd2cece80aa907a06f2980d0ce9239f"><td class="memItemLeft" align="right" valign="top"><a id="a9dd2cece80aa907a06f2980d0ce9239f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BreakableBody</b> (<a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_dynamics_1_1_world.html">World</a> world, IEnumerable&lt; <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_collision_1_1_shapes_1_1_shape.html">Shape</a> &gt; shapes, <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> position=new <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>(), float rotation=0)</td></tr>
<tr class="separator:a9dd2cece80aa907a06f2980d0ce9239f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a880b50972d509e21eb53dcf9f9527efa"><td class="memItemLeft" align="right" valign="top"><a id="a880b50972d509e21eb53dcf9f9527efa"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BreakableBody</b> (<a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_dynamics_1_1_world.html">World</a> world, <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vertices.html">Vertices</a> vertices, float density, <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> position=new <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>(), float rotation=0)</td></tr>
<tr class="separator:a880b50972d509e21eb53dcf9f9527efa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec0783b5a136e042adcc47bae4fe5291"><td class="memItemLeft" align="right" valign="top"><a id="aec0783b5a136e042adcc47bae4fe5291"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Update</b> ()</td></tr>
<tr class="separator:aec0783b5a136e042adcc47bae4fe5291"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a03ab273229d2c63ca328003052b4923b"><td class="memItemLeft" align="right" valign="top"><a id="a03ab273229d2c63ca328003052b4923b"></a>
List&lt; <a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_dynamics_1_1_fixture.html">Fixture</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Parts</b> = new List&lt;<a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_dynamics_1_1_fixture.html">Fixture</a>&gt;(8)</td></tr>
<tr class="separator:a03ab273229d2c63ca328003052b4923b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e0af77c63d277b389e7bb0caace453c"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_physics_logic_1_1_breakable_body.html#a7e0af77c63d277b389e7bb0caace453c">Strength</a> = 500.0f</td></tr>
<tr class="memdesc:a7e0af77c63d277b389e7bb0caace453c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The force needed to break the body apart. Default: 500  <a href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_physics_logic_1_1_breakable_body.html#a7e0af77c63d277b389e7bb0caace453c">More...</a><br /></td></tr>
<tr class="separator:a7e0af77c63d277b389e7bb0caace453c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:addad4c6d854b8c10bcf693736126f9ee"><td class="memItemLeft" align="right" valign="top"><a id="addad4c6d854b8c10bcf693736126f9ee"></a>
<a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_dynamics_1_1_world.html">World</a>&#160;</td><td class="memItemRight" valign="bottom"><b>World</b><code> [get]</code></td></tr>
<tr class="separator:addad4c6d854b8c10bcf693736126f9ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73df52ab809bd17f9722ee6fd0a06b78"><td class="memItemLeft" align="right" valign="top"><a id="a73df52ab809bd17f9722ee6fd0a06b78"></a>
<a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_dynamics_1_1_body.html">Body</a>&#160;</td><td class="memItemRight" valign="bottom"><b>MainBody</b><code> [get]</code></td></tr>
<tr class="separator:a73df52ab809bd17f9722ee6fd0a06b78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3033aa295a2f0768efa99ef7e55d4291"><td class="memItemLeft" align="right" valign="top"><a id="a3033aa295a2f0768efa99ef7e55d4291"></a>
BreakableBodyState&#160;</td><td class="memItemRight" valign="bottom"><b>State</b><code> [get]</code></td></tr>
<tr class="separator:a3033aa295a2f0768efa99ef7e55d4291"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A type of body that supports multiple fixtures that can break apart. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a7e0af77c63d277b389e7bb0caace453c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e0af77c63d277b389e7bb0caace453c">&#9670;&nbsp;</a></span>Strength</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Strength = 500.0f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The force needed to break the body apart. Default: 500 </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Physics2D/Common/PhysicsLogic/BreakableBody.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenkast.html">nkast</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether.html">Aether</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d.html">Physics2D</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d_1_1_common.html">Common</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_physics_logic.html">PhysicsLogic</a></li><li class="navelem"><a class="el" href="classnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_physics_logic_1_1_breakable_body.html">BreakableBody</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
